﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AdicionarUsuario.aspx.cs" Inherits="Ecommerce.Admin.Paginas.AdicionarUsuario" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../Styles/Datepicker/humanity.datepick.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Scripts/Datepicker/jquery.datepick.js"></script>


    <script type="text/javascript">
        $(function () {
            $('#MainContent_txtDtNascimento').datepick();
        });
    </script>

    <div id="box_toolbox">
        <div id="div_toolbox_titulo">
            <asp:Label ID="lblTituloMenu" runat="server" Text="Adicionar um novo usuário"></asp:Label>
        </div>
        <div id="div_toolbox_botoes">
            <asp:Button ID="btnSalvar" runat="server" CssClass="Botao_Toolbox" 
                Text="Salvar" onclick="btnSalvar_Click" />
        </div>
    </div>
    
    <table cellpadding="2px" cellspacing="2px">
        <tr>
            <td>
                <asp:Label ID="lblEmail" runat="server" CssClass="Label_Formulario" Text="Email:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtEmail" CssClass="Textbox" Width="300px" runat="server" ControlToValidate="txtEmail"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="Campo_Obrigatorio" ControlToValidate="txtEmail" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblSenha" runat="server" CssClass="Label_Formulario" Text="Senha:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtSenha" CssClass="Textbox" TextMode="Password" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtSenha" CssClass="Campo_Obrigatorio" ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblRedigitarSenha" runat="server" CssClass="Label_Formulario" Text="Redigitar Senha:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtRedigitarSenha" CssClass="Textbox" TextMode="Password" runat="server"></asp:TextBox>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ErrorMessage="Senha não confere" ControlToCompare="txtSenha" 
                    ControlToValidate="txtRedigitarSenha" CssClass="Campo_Obrigatorio"></asp:CompareValidator></td>
        </tr>
            
        <tr>
            <td>
                <asp:Label ID="lblSexo" runat="server" CssClass="Label_Formulario" Text="Sexo:"></asp:Label></td>
            <td>
            
            <asp:RadioButtonList ID="rblSexo" runat="server">
                <asp:ListItem Text="Masculino" Value="M" />
                <asp:ListItem Text="Feminino"  Value="F" />
            </asp:RadioButtonList>

            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblNome" runat="server" CssClass="Label_Formulario" Text="Nome:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtNome" CssClass="Textbox" Width="300px" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtNome" CssClass="Campo_Obrigatorio" ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>    
            </td>
        </tr>

         <tr>
            <td>
                <asp:Label ID="lblDtNascimento" runat="server" CssClass="Label_Formulario" Text="Data de Nascimento:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtDtNascimento" CssClass="Textbox" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ControlToValidate="txtDtNascimento" CssClass="Campo_Obrigatorio" ID="RequiredFieldValidator4" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblComentario" runat="server" CssClass="Label_Formulario" Text="Comentário:"></asp:Label></td>
            <td>
                <asp:TextBox ID="txtComentario" CssClass="Textbox" width="300px" Height="40px" TextMode="MultiLine" runat="server"></asp:TextBox>
            </td>
        </tr>

        <tr>
            <td>
                <asp:Label ID="lblAtivo" runat="server" CssClass="Label_Formulario" Text="Ativo:"></asp:Label></td>
            <td>
                <asp:CheckBox ID="chkAtivo" runat="server" />
            </td>
        </tr>

     </table>

</asp:Content>
